package com.sc.nft.entity.dto.draw.activity;

import com.sc.nft.enums.draw.activity.AutoReplenishmentEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class AutoReplenishmentDTO {

    /**
     * 补充类型
     */
    @ApiModelProperty(value = "补充类型，AUTO_REPLENISH_WHEN_ZERO：当库存为0时，自动补充N份道具，AUTO_REPLENISH_WHEN_WEIGHT_LOW：当本奖池总权重小于X时，自动补充N份道具")
    private AutoReplenishmentEnum autoReplenishmentEnum;

    /**
     * 补充份数
     */
    @ApiModelProperty(value = "补充份数")
    private Integer totalPrizeCount;

    /**
     * 总权重
     */
    @ApiModelProperty(value = "总权重")
    private BigDecimal totalProbability;
}
